package com.lbfamous.strings;

public class ForEachChar {

    public static void main(String[] args) {
        String s = "Hello World";

        for(char ch:s.toCharArray()){
            System.out.println(ch);
        }
    }
}